//
//  IFirstCell.h
//  jiyujiaProgram
//
//  Created by SSIC on 16/3/2.
//  Copyright © 2016年 中良 赵. All rights reserved.
//

#import <UIKit/UIKit.h>


@class IFirstCell;

@protocol firstDelegate <NSObject>


- (void)firstSaveClick:(UIButton *)save Name:(NSString *)name ID:(NSString *)id;
- (void)firstCancleClick:(UIButton *)cancle;
- (void)firstPhotoClick:(UIButton *)photo;

@end


@interface IFirstCell : UITableViewCell


@property (nonatomic, unsafe_unretained) id <firstDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIImageView *photoImage;
@property (strong, nonatomic) IBOutlet UIButton *photoButton;
@property (strong, nonatomic) IBOutlet UITextField *nameText;
@property (strong, nonatomic) IBOutlet UITextField *idText;
@property (strong, nonatomic) IBOutlet UIButton *saveButton;
@property (strong, nonatomic) IBOutlet UIButton *cancleButton;


- (void)setCellWithIndexPath:(NSIndexPath *)indexPath;


- (IBAction)save:(id)sender;
- (IBAction)cancle:(id)sender;
- (IBAction)photo:(id)sender;



@end
